<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<%@ page import="org.vectrics.hibernate.ThreadProperties" %>
<%@ page import="org.vectrics.domain.Domain" %>

<%
	String domainId = ThreadProperties.getUriDomainId();
	Domain domain = ThreadProperties.getDomain();
	String editLink = "/hrs-public/profile/" + domainId + "/agent/edit.do";
	String personId = request.getParameter("personId");
	
%>

<vectrics:userAgentList personId="<%=personId%>" width="500"/>
<br>
<vectrics:button 
		href="<%=editLink%>"
		code="public.button.wide"
		phraseCode="button.job.agent.new"					
		paramName="personId"
		paramValue="<%=personId%>"
		/>
